{include file="header.tpl"}
<script type="text/javascript">
  function deleteItem()
{
  if(confirm("Warning: Are you sure You Want To Delete First(1) Time.") && confirm("Warning: Are you sure You Want To Delete Second(2) Time.") && confirm("Warning: Are you sure You Want To Delete First(3) Time."))
    return true;
  else
    return false;
}
</script>
<form name="item" method="post">
{$msg}	
 <table border="0"  align="center" cellspacing="7" cellpadding="2" class="veeparibook">
  <tr>
    <td align="center" class="table1" colspan="2">{$l_editParty}</td>
  </tr>
  <tr>
    <td align="right">{$l_partyName}</td>
    <td>
    	<input type="hidden" name="partyIdEdit" value="{$partyId}">
    	<input type="text" name="partyName" value="{$partyName}">
    </td>
  </tr>
  <tr>
    <td align="right">{$l_partyAddress}</td>
    <td>
      <input type="text" name="partyAddress" value="{$partyAddress}">
    </td>
  </tr>
  <tr>
    <td align="right">{$l_partyMobile}</td>
    <td>
      <input type="text" name="partyMobile" value="{$partyMobile}">
    </td>
  </tr>
  <tr>
   	<input type="hidden" name="party" value="{$partyId}">
    <td align="right" name="vepaariBookDate">DELETE FROM DATE </td>
      <td NOWRAP>
        {html_select_date prefix="toDate" start_year="-2" end_year="+1" field_order="DMY" time=$vepaariBookDate day_value_format="%02d"}
      </td>
      <td align="right">
        <input type="submit" name="submitBtn" value="{$l_find}" />
      </td>
         <td><input type="submit" name="delete" value="Delete" onclick="return deleteItem();"/> </td>
  </tr>
  <tr class="table1" >
    <th>{$l_fine}</th>
  </tr>
      <tr>
      	<td><b>NetFine : {$total.totFine|string_format:"%.0f"}</b></td>
        <td><b>NetAmount : {$total.totAmount|string_format:"%.0f"}</b></td>
      <!--  <td>Opening</td>
      <input type="hidden" value="{if $opening.crFine != 0}{$opening.crFine|string_format:"%.0f"}{/if}" />
      <input type="hidden" value="{if $opening.drAmount != 0}{$opening.drAmount|string_format:"%.0f"}{else}&nbsp;{/if}"/>
          <td>{math equation=" x - y " x=$opening.crFine y=$opening.drFine}</td>
      </tr>
      <tr>
      </tr>
      <tr class="table1">
         <th>{$l_amount}</th>
      </tr>
      <tr>
        <td>Opening</td>
        <input type="hidden" value="{if $opening.drFine != 0}{$opening.drFine|string_format:"%.0f"}{else}&nbsp;{/if}"/>
        <input type="hidden" value="{if  $opening.crFine != 0}{$opening.crAmount|string_format:"%.0f"}{/if}"/>
          <td>{math equation=" x - y " x=$opening.crAmount y=$opening.drAmount}</td>
      </tr>
      <tr>
      -->
      </tr>
  <tr>
    <td align="center" colspan="2"><input type="submit" name="submit" value="save" class="button"></td>
  </tr>
</table>
</form>

  {include file="footer.tpl"}